package com.qf.data.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.qf.data.base.entity.BaseEntity;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * (RedEnvelopesDetails)表实体类
 *
 * @author makejava
 * @since 2022-07-20 10:21:24
 */
@Data
@ToString(callSuper = true)
@Accessors(chain = true)
public class RedEnvelopesDetails extends BaseEntity implements Serializable {
    //主键
    @TableId(type = IdType.AUTO)
    private Long id;
    //红包id
    private Long rid;
    //用户id - 谁抢的红包
    private Long uid;
    //类型 0-普通用户 1-运气王
    private Integer type;
    //抢的积分数量
    private Integer score;
}


